package business.other.impl;

import business.other.TourismCommitteeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import other.domain.*;
import other.mapper.*;
import java.util.List;

/**
 * Created by SunZZ on 2016/6/15.
 */
@Service(value = "tourismCommitteeService")
public class TourismCommitteeServiceImpl implements TourismCommitteeService {

    @Autowired
    TourismCommitteeMapper tourismCommitteeMapper;

    @Override
    public List<TourismCommittee> selectTourismCommittee() {
        TourismCommitteeCriteria criteria = new TourismCommitteeCriteria();
        criteria.createCriteria().getAllCriteria();
        return tourismCommitteeMapper.selectByExample(criteria);
    }
}
